<?php
    #事件-添加新闻
    StaticizerFactory::Create('app.news_event_add')->Build(DB::GetRowByID('news',1));
    #事件-修改新闻
    StaticizerFactory::Create('app.news_event_edit')->Build(DB::GetRowByID('news',1));
    #事件-删除新闻
    StaticizerFactory::Create('app.news_event_delete')->Build(DB::GetRowByID('news',1));
    #事件-置顶
    StaticizerFactory::Create('app.news_event_top')->Build(DB::GetRowByID('news',1));
    #事件-推荐
    StaticizerFactory::Create('app.news_event_recommend')->Build(DB::GetRowByID('news',1));
    #事件-头条
    StaticizerFactory::Create('app.news_event_headline')->Build(DB::GetRowByID('news',1));
?>

<?php
    #添加
    StaticizerFactory::Create('news.content')->Build(array
    (
        'ID'=>3,
        'Action'=>'Add'
    ));
    #修改
    StaticizerFactory::Create('news.content')->Build(array
    (
        'ID'=>3,
        'Action'=>'Edit'
    ));
    #删除
    $Data=DB::GetRowByID('news','ID:3');
    StaticizerFactory::Create('news.content')->Build(array
    (
        'Action'=>'Delete',
        'Data'=>$Data
    ));
?>